package com.eboss2.sbs.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.eboss2.sbs.R;
import com.eboss2.sbs.activity.base.BaseActivity;
import com.mytools.tool.activityManager.MyActivityManager;

public class MyDetailRecordActivity extends BaseActivity implements View.OnClickListener{

	private TextView tv_trans_amt;
	private TextView tv_trans_status;
	private TextView tv_pay_type;
	private TextView tv_pay_way;
	private TextView tv_member_name;
	private TextView tv_member_id;
	private TextView tv_sale_count;
	private TextView tv_pay_time;
	private TextView tv_order_no;
	private TextView tv_order_amt;
	private TextView tv_coupon;
	private TextView tv_point;
	private TextView tv_give_point;
	private TextView tv_give_counpo;
	private TextView tv_give_amt;




	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		mContext = this;
		setContentView(R.layout.activity_my_detail_record);
		MyActivityManager.getInstance().addActivity(this);
		initView();
	}
	
	private void initView(){
		showView(R.id.titleback_btn_back, true);
		setTvText(R.id.tv_title, "交易详情");
		showView(R.id.next_sure, false);
		findViewById(R.id.titleback_btn_back).setOnClickListener(this);
		findViewById(R.id.next_sure).setOnClickListener(this);

		tv_trans_amt = textView(R.id.tv_trans_amt);
		tv_trans_status = textView(R.id.tv_trans_status);
		tv_pay_type = textView(R.id.tv_pay_type);
		tv_pay_way = textView(R.id.tv_pay_way);
		tv_member_name = textView(R.id.tv_member_name);
		tv_member_id = textView(R.id.tv_member_id);
		tv_sale_count = textView(R.id.tv_sale_count);
		tv_pay_time = textView(R.id.tv_pay_time);
		tv_order_no = textView(R.id.tv_order_no);
		tv_order_amt = textView(R.id.tv_order_amt);
		tv_coupon = textView(R.id.tv_coupon);
		tv_point = textView(R.id.tv_point);
		tv_give_point = textView(R.id.tv_give_point);
		tv_give_counpo = textView(R.id.tv_give_counpo);
		tv_give_amt = textView(R.id.tv_give_amt);






	}





	
	@Override
	public void onClick(View v) {
		switch (v.getId()) {
			case R.id.titleback_btn_back:
				finish();
				break;

			default:break;
		}
	}

	
}
